//2009/08/13 18:59:29
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class Average
{
public:
    int belowAvg(vector <int> math, vector <int> verbal)
    {
		int score = 0;
		int count = 0;
		for(int i=0; i<math.size(); i++)
		{
			score += math[i] + verbal[i];
		}
		for(int i=0; i<math.size(); i++)
		{
			if((math[i] + verbal[i]) * math.size() < score ) 
				count ++;
		}
		return count;
    }
};
